/*
 * Source code written by Tácio S. Diogo.
 * Email: taciosd@gmail.com
 * Any copy or use without permission is prohibited.
 */
package app.comportamentos;

import app.agentes.Agente;
import app.reputacao.ACAO;
import app.modelo.Ambiente;
import jade.core.Agent;
import jade.core.behaviours.OneShotBehaviour;

/**
 *
 * @author Tácio S. Diogo
 */
public class IniciarEleicoes extends OneShotBehaviour {
    
    public IniciarEleicoes(Agent agent) {
        super(agent);
    }

    @Override
    public void action() {
        Ambiente.getInstance().executarAcao((Agente)myAgent, ACAO.INICIAR_ELEICAO);
    }
    
}
